package com.start.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@Schema(name = "StartBaseEntity", description = "全局基础实体")
public class StartBaseEntity {
    @TableId(type = IdType.ASSIGN_UUID)
    @Schema(name = "主键")
    private String id;
    @Schema(name = "创建时间")
    private LocalDateTime createTime;
    @Schema(name = "修改时间")
    private LocalDateTime updateTime;
    @Schema(name = "创建人")
    private String createBy;
    @Schema(name = "修改人")
    private String updateBy;
}
